﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Xml.Linq;
using System.IO;

namespace TNKDKS {
    public class Processor {
        int nagruzka;

        public int Nagruzka {
            get { return nagruzka; }
            set {
                nagruzka = value;
                if (nagruzka > max_nagruzka)
                    work = false;
                //else
                //    work = true;
            }
        }
        int max_nagruzka;

        public int Max_nagruzka {
            get { return max_nagruzka; }
            set { max_nagruzka = value; }
        }

        public int[] zamena;

        bool work;

        public bool Work {
            get { return work; }
        }

        public bool palamalsa;

        public Processor() {
            work = true;
        }
    }
}